package com.moyun.zbmy.zizhou.beans;

import com.ruihang.generalibrary.ui.util.IListData;
import com.moyun.zbmy.zizhou.ui.util.IListShowData;

/**
 *  专题
 */
public class HomeTopicItem implements IListShowData {

    private NewsItem newsItem;
    private int position;
    private int viewType;

    private String newsImage;//":"/sctv/1/image/public/201810/20181024090148_t6qwej74m0.jpg",
    private String newsUrl;//":"/sctv/spec/2018/08/23/505.json",
    private String newsTitle;//":"加快等哈开会",


    private boolean isShowTopDivider;
    private boolean isShowBottomDivider;

    public HomeTopicItem() {
    }

    public HomeTopicItem(NewsItem newsItem) {
        this.newsItem = newsItem;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public String getNewsImage() {
        return newsImage;
    }

    public void setNewsImage(String newsImage) {
        this.newsImage = newsImage;
    }

    public String getNewsUrl() {
        return newsUrl;
    }

    public void setNewsUrl(String newsUrl) {
        this.newsUrl = newsUrl;
    }

    public String getNewsTitle() {
        return newsTitle;
    }

    public void setNewsTitle(String newsTitle) {
        this.newsTitle = newsTitle;
    }

    public boolean isShowTopDivider() {
        return isShowTopDivider;
    }

    public void setShowTopDivider(boolean showTopDivider) {
        isShowTopDivider = showTopDivider;
    }

    public boolean isShowBottomDivider() {
        return isShowBottomDivider;
    }

    public void setShowBottomDivider(boolean showBottomDivider) {
        isShowBottomDivider = showBottomDivider;
    }

    @Override
    public String getDataTitle() {
        return null;
    }

    @Override
    public String getDataImg() {
        return null;
    }

    @Override
    public String getDataTag() {
        return null;
    }

    @Override
    public String getDataId() {
        return null;
    }

    @Override
    public int getDataType() {
        return 0;
    }

    @Override
    public int getDataViewType() {
        return viewType;
    }

    @Override
    public IListData getOwner() {
        return null;
    }

    @Override
    public String getTime() {
        return null;
    }

    @Override
    public IListShowData getOwenerData() {
        return null;
    }

    public NewsItem getNewsItem() {
        return newsItem;
    }

    public void setNewsItem(NewsItem newsItem) {
        this.newsItem = newsItem;
    }

    public void setViewType(int viewType) {
        this.viewType = viewType;
    }


    public int getViewType() {
        return viewType;
    }

    @Override
    public String toString() {
        return "HomeTopicItem{" +
                "imgUrl=" + newsUrl +
                ", newsItem =" + newsItem +
                ", viewType=" + viewType +
                '}';
    }
}
